package com.xmg.p2p.business.mapper;

import com.xmg.p2p.business.domain.BidRequestAuditHistory;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BidRequestAuditHistoryMapper {
    //添加 借款审核记录
    int insert(BidRequestAuditHistory record);
    //根据id查询借款审核记录
    BidRequestAuditHistory selectByPrimaryKey(Long id);

    /**
     * 列出指定借款对象相关的所有审核对象
     * @param id
     * @return
     */
    List<BidRequestAuditHistory> listAuditHistorayByBidRequest(Long id);

}
